<?php

include "../inc/item_functions.inc.php";

$item_name = $_POST["product_name"];
$availability = $_POST["status"] == "available" ? 1 : 0;
$item_price = $_POST["product_price"];
$desc = $_POST["product_description"];
$in_store = $_POST["product_quantity"];

new_item ($item_name, $availability, $item_price, $desc, $in_store);

?>
		   